package com.zbkj.crmeb.category.request;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.experimental.Accessors;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import java.io.Serializable;
import java.math.BigDecimal;

@Data
@Accessors(chain = true)
public class UpdateCateRatioRequest implements Serializable {

    @ApiModelProperty(value = "分类id")
    @NotNull(message = "分类id不能为空")
    private Integer cateId;

    @ApiModelProperty(value = "加价率")
    @NotNull(message = "加价率不能为空")
    private BigDecimal ratio;

}